<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.ftp.RegexFTPFileEntryParserImpl类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.ftp.RegexFTPFileEntryParserImpl类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>所有基于正则表达式的FTP文件条目解析器的基类。  
 <a href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#details">更多...</a></p>
<div class="dynheader">
类 commonsNet.ftp.RegexFTPFileEntryParserImpl 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.png" usemap="#commonsNet.ftp.RegexFTPFileEntryParserImpl_map" alt=""/>
  <map id="commonsNet.ftp.RegexFTPFileEntryParserImpl_map" name="commonsNet.ftp.RegexFTPFileEntryParserImpl_map">
<area href="classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl.html" title="FTPFileEntryParser 的实现类，包含 FTPFileEntryParser 接口的默认功能。" alt="commonsNet.ftp.FTPFileEntryParserImpl" shape="rect" coords="161,56,473,80"/>
<area href="interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser.html" title="FTP文件条目解析器。" alt="commonsNet.ftp.FTPFileEntryParser" shape="rect" coords="161,0,473,24"/>
<area href="classcommonsNet_1_1ftp_1_1ConfigurableFTPFileEntryParserImpl.html" title="实现了所有具体解析器常用的时间戳解析算法的抽象类。" alt="commonsNet.ftp.ConfigurableFTPFileEntryParserImpl" shape="rect" coords="0,168,312,192"/>
<area href="classcommonsNet_1_1ftp_1_1EnterpriseUnixFTPEntryParser.html" title="解析 Sterling Commerce 的 Connect Enterprise Unix FTP 服务器的输出行。" alt="commonsNet.ftp.EnterpriseUnixFTPEntryParser" shape="rect" coords="322,168,634,192"/>
<area href="classcommonsNet_1_1ftp_1_1MVSFTPEntryParser.html" title="一个用于IBM zOS/MVS操作系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.MVSFTPEntryParser" shape="rect" coords="322,224,634,248"/>
<area href="classcommonsNet_1_1ftp_1_1MacOsPeterFTPEntryParser.html" title="一个用于早期 macOS-X 系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.MacOsPeterFTPEntryParser" shape="rect" coords="322,280,634,304"/>
<area href="classcommonsNet_1_1ftp_1_1NTFTPEntryParser.html" title="一个用于 NT 操作系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.NTFTPEntryParser" shape="rect" coords="322,336,634,360"/>
<area href="classcommonsNet_1_1ftp_1_1NetwareFTPEntryParser.html" title="一个用于Netware操作系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.NetwareFTPEntryParser" shape="rect" coords="322,392,634,416"/>
<area href="classcommonsNet_1_1ftp_1_1OS2FTPEntryParser.html" title="一个用于 OS2 操作系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.OS2FTPEntryParser" shape="rect" coords="322,448,634,472"/>
<area href="classcommonsNet_1_1ftp_1_1OS400FTPEntryParser.html" title="一个用于 OS400 操作系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.OS400FTPEntryParser" shape="rect" coords="322,504,634,528"/>
<area href="classcommonsNet_1_1ftp_1_1UnixFTPEntryParser.html" title="用于处理 Unix 系统的标准文件列表的解析器。" alt="commonsNet.ftp.UnixFTPEntryParser" shape="rect" coords="322,560,634,584"/>
<area href="classcommonsNet_1_1ftp_1_1VMSFTPEntryParser.html" title="一个用于 VMS 操作系统的 FTP 文件条目解析器的实现类。" alt="commonsNet.ftp.VMSFTPEntryParser" shape="rect" coords="322,616,634,640"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a400221fde0c4b113a9db60134a049d16"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a400221fde0c4b113a9db60134a049d16">init</a> (regex: String)</td></tr>
<tr class="memdesc:a400221fde0c4b113a9db60134a049d16"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个 RegexFTPFileEntryParserImpl 对象，正则匹配模式为普通模式。  <br /></td></tr>
<tr class="separator:a400221fde0c4b113a9db60134a049d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a486a454136763b525abd64de3f1ac18f"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a486a454136763b525abd64de3f1ac18f">init</a> (regex: String, option: RegexOption)</td></tr>
<tr class="memdesc:a486a454136763b525abd64de3f1ac18f"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个 RegexFTPFileEntryParserImpl 对象，并指定正则匹配的模式。  <br /></td></tr>
<tr class="separator:a486a454136763b525abd64de3f1ac18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a898194e2922b4be8c92fda133a166ce9"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a898194e2922b4be8c92fda133a166ce9">getGroupCnt</a> (): Int64</td></tr>
<tr class="memdesc:a898194e2922b4be8c92fda133a166ce9"><td class="mdescLeft">&#160;</td><td class="mdescRight">便捷方法，获取内部 MatchData 中的组数。  <br /></td></tr>
<tr class="separator:a898194e2922b4be8c92fda133a166ce9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a960cf269724a98297e858300bac922c3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a960cf269724a98297e858300bac922c3">getGroupsAsString</a> (): String</td></tr>
<tr class="memdesc:a960cf269724a98297e858300bac922c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取按编号显示每个匹配组的字符串。  <br /></td></tr>
<tr class="separator:a960cf269724a98297e858300bac922c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f3e9ccb28734ffe2874da3b635225f8"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a7f3e9ccb28734ffe2874da3b635225f8">group</a> (group: Int64): ?String</td></tr>
<tr class="memdesc:a7f3e9ccb28734ffe2874da3b635225f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取某个匹配组的内容  <br /></td></tr>
<tr class="separator:a7f3e9ccb28734ffe2874da3b635225f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93792cbbd8f8386d781d6ec08b9e69e8"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a93792cbbd8f8386d781d6ec08b9e69e8">matches</a> (s: String): Bool</td></tr>
<tr class="memdesc:a93792cbbd8f8386d781d6ec08b9e69e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断传入字符串是否与正则表达式匹配。  <br /></td></tr>
<tr class="separator:a93792cbbd8f8386d781d6ec08b9e69e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65896b5a0e9d00026861a83c6edc35de"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a65896b5a0e9d00026861a83c6edc35de">setRegex</a> (regex: String): Unit</td></tr>
<tr class="memdesc:a65896b5a0e9d00026861a83c6edc35de"><td class="mdescLeft">&#160;</td><td class="mdescRight">更改当前用于条目解析的正则表达式，并创建一个新的 <code><a class="el" href="">Regex</a></code> 实例。正则匹配模式为普通模式。  <br /></td></tr>
<tr class="separator:a65896b5a0e9d00026861a83c6edc35de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a125c9f93119efe14a0cee68ff4f61e0f"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a125c9f93119efe14a0cee68ff4f61e0f">setRegex</a> (regex: String, option: RegexOption): Unit</td></tr>
<tr class="memdesc:a125c9f93119efe14a0cee68ff4f61e0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">更改当前用于条目解析的正则表达式，并创建一个新的 <code><a class="el" href="">Regex</a></code> 实例。  <br /></td></tr>
<tr class="separator:a125c9f93119efe14a0cee68ff4f61e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl.html">commonsNet.ftp.FTPFileEntryParserImpl</a></td></tr>
<tr class="memitem:a31ee5c6b892d7d4c0d7f59a0affc8855 inherit pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td class="memItemLeft" align="right" valign="top">public open override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl.html#a31ee5c6b892d7d4c0d7f59a0affc8855">preParse</a> (original: LinkedList&lt;String&gt;): LinkedList&lt;String&gt;</td></tr>
<tr class="memdesc:a31ee5c6b892d7d4c0d7f59a0affc8855 inherit pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td class="mdescLeft">&#160;</td><td class="mdescRight">为接口的实现者（如 VMSVersioningFTPEntryParser ，或其他实现）提供钩子。  <br /></td></tr>
<tr class="separator:a31ee5c6b892d7d4c0d7f59a0affc8855 inherit pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b57440d6f60396d5bcc440a397e30fc inherit pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td class="memItemLeft" align="right" valign="top">public open override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl.html#a6b57440d6f60396d5bcc440a397e30fc">readNextEntry</a> (reader: StringReader&lt;InputStream&gt;): ?String</td></tr>
<tr class="memdesc:a6b57440d6f60396d5bcc440a397e30fc inherit pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td class="mdescLeft">&#160;</td><td class="mdescRight">从提供的对象中读取下一个条目内容，直到遇到条目的分隔符。  <br /></td></tr>
<tr class="separator:a6b57440d6f60396d5bcc440a397e30fc inherit pub_methods_classcommonsNet_1_1ftp_1_1FTPFileEntryParserImpl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser.html">commonsNet.ftp.FTPFileEntryParser</a></td></tr>
<tr class="memitem:a850e0cbf482a483185a931ce4bef5df4 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser.html#a850e0cbf482a483185a931ce4bef5df4">parseFTPEntry</a> (listEntry: String): ?<a class="el" href="classcommonsNet_1_1ftp_1_1FTPFile.html">FTPFile</a></td></tr>
<tr class="memdesc:a850e0cbf482a483185a931ce4bef5df4 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="mdescLeft">&#160;</td><td class="mdescRight">解析FTP服务器文件列表的一行，并将其转换为 FTPFile 实例形式。  <br /></td></tr>
<tr class="separator:a850e0cbf482a483185a931ce4bef5df4 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af13d4e946a324b2aae498a9072948b40 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser.html#af13d4e946a324b2aae498a9072948b40">preParse</a> (original: LinkedList&lt;String&gt;): LinkedList&lt;String&gt;</td></tr>
<tr class="memdesc:af13d4e946a324b2aae498a9072948b40 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="mdescLeft">&#160;</td><td class="mdescRight">为接口的实现者（如 VMSVersioningFTPEntryParser ，或其他实现）提供钩子。  <br /></td></tr>
<tr class="separator:af13d4e946a324b2aae498a9072948b40 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98cb0a6f3b1ae6cf9d29e87fbf8b2ec7 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser.html#a98cb0a6f3b1ae6cf9d29e87fbf8b2ec7">readNextEntry</a> (reader: StringReader&lt;InputStream&gt;): ?String</td></tr>
<tr class="memdesc:a98cb0a6f3b1ae6cf9d29e87fbf8b2ec7 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="mdescLeft">&#160;</td><td class="mdescRight">从提供的对象中读取下一个条目内容，直到遇到条目的分隔符。  <br /></td></tr>
<tr class="separator:a98cb0a6f3b1ae6cf9d29e87fbf8b2ec7 inherit pub_methods_interfacecommonsNet_1_1ftp_1_1FTPFileEntryParser"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a5bb71fc8a9a747ddfb17bd031d74277d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a5bb71fc8a9a747ddfb17bd031d74277d">var _matcher_</a> : ?Matcher = None</td></tr>
<tr class="memdesc:a5bb71fc8a9a747ddfb17bd031d74277d"><td class="mdescLeft">&#160;</td><td class="mdescRight">内部 Matcher 对象，为 Regex 的匹配器，用于扫描输入序列并进行匹配。  <br /></td></tr>
<tr class="separator:a5bb71fc8a9a747ddfb17bd031d74277d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a164afd1c4c126a5d2cb759243f495774"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a164afd1c4c126a5d2cb759243f495774">var pattern</a> : Regex</td></tr>
<tr class="memdesc:a164afd1c4c126a5d2cb759243f495774"><td class="mdescLeft">&#160;</td><td class="mdescRight">内部模式，用于匹配文件条目。  <br /></td></tr>
<tr class="separator:a164afd1c4c126a5d2cb759243f495774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85e9fb7365af878c654f8fdf4a95fc97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html#a85e9fb7365af878c654f8fdf4a95fc97">var result</a> : ?MatchData = None</td></tr>
<tr class="memdesc:a85e9fb7365af878c654f8fdf4a95fc97"><td class="mdescLeft">&#160;</td><td class="mdescRight">内部匹配结果，供解析器使用。  <br /></td></tr>
<tr class="separator:a85e9fb7365af878c654f8fdf4a95fc97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>所有基于正则表达式的FTP文件条目解析器的基类。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a400221fde0c4b113a9db60134a049d16" name="a400221fde0c4b113a9db60134a049d16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a400221fde0c4b113a9db60134a049d16">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ftp.RegexFTPFileEntryParserImpl.init </td>
          <td>(</td>
          <td class="paramname"><em>regex</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个 RegexFTPFileEntryParserImpl 对象，正则匹配模式为普通模式。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>用于初始化此对象的正则表达式</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RegexException</td><td>初始化失败 </td></tr>
    <tr><td class="paramname">IllegalArgumentException</td><td>用于初始化的正则表达式中包含空字符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a486a454136763b525abd64de3f1ac18f" name="a486a454136763b525abd64de3f1ac18f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a486a454136763b525abd64de3f1ac18f">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ftp.RegexFTPFileEntryParserImpl.init </td>
          <td>(</td>
          <td class="paramname"><em>regex</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">RegexOption&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个 RegexFTPFileEntryParserImpl 对象，并指定正则匹配的模式。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>用于初始化此对象的正则表达式。</td></tr>
    <tr><td class="paramname">option</td><td>指定正则匹配的模式，参见<code><a class="el" href="">regex.RegexOption</a></code>。</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IllegalArgumentException</td><td>提供了无法解析的正则表达式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a898194e2922b4be8c92fda133a166ce9" name="a898194e2922b4be8c92fda133a166ce9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a898194e2922b4be8c92fda133a166ce9">&#9670;&#160;</a></span>getGroupCnt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.RegexFTPFileEntryParserImpl.getGroupCnt </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Int64 </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>便捷方法，获取内部 MatchData 中的组数。 </p>
<dl class="section return"><dt>返回</dt><dd>内部 MatchData 中的组数 </dd></dl>

</div>
</div>
<a id="a960cf269724a98297e858300bac922c3" name="a960cf269724a98297e858300bac922c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a960cf269724a98297e858300bac922c3">&#9670;&#160;</a></span>getGroupsAsString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.RegexFTPFileEntryParserImpl.getGroupsAsString </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取按编号显示每个匹配组的字符串。 </p>
<dl class="section return"><dt>返回</dt><dd>按编号显示每个匹配组的字符串 </dd></dl>

</div>
</div>
<a id="a7f3e9ccb28734ffe2874da3b635225f8" name="a7f3e9ccb28734ffe2874da3b635225f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f3e9ccb28734ffe2874da3b635225f8">&#9670;&#160;</a></span>group()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.RegexFTPFileEntryParserImpl.group </td>
          <td>(</td>
          <td class="paramname"><em>group</em>:&#160;</td>
          <td class="paramtype">Int64</td><td>)</td>
          <td>: ?String </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取某个匹配组的内容 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">group</td><td>要检索的匹配组号</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>第 group 组的内部匹配内容。如果没有对应内容，则返回 None 。</dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IndexOutOfBoundsException</td><td>输入的匹配组号值不符合规定 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a93792cbbd8f8386d781d6ec08b9e69e8" name="a93792cbbd8f8386d781d6ec08b9e69e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93792cbbd8f8386d781d6ec08b9e69e8">&#9670;&#160;</a></span>matches()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.RegexFTPFileEntryParserImpl.matches </td>
          <td>(</td>
          <td class="paramname"><em>s</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Bool </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断传入字符串是否与正则表达式匹配。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>要匹配的字符串</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>如果 s 与该对象的正则表达式匹配，则为 true 。否则为 false 。 </dd></dl>

</div>
</div>
<a id="a65896b5a0e9d00026861a83c6edc35de" name="a65896b5a0e9d00026861a83c6edc35de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65896b5a0e9d00026861a83c6edc35de">&#9670;&#160;</a></span>setRegex() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.RegexFTPFileEntryParserImpl.setRegex </td>
          <td>(</td>
          <td class="paramname"><em>regex</em>:&#160;</td>
          <td class="paramtype">String</td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>更改当前用于条目解析的正则表达式，并创建一个新的 <code><a class="el" href="">Regex</a></code> 实例。正则匹配模式为普通模式。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>新的正则表达式</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">RegexException</td><td>初始化失败</td></tr>
    <tr><td class="paramname">IllegalArgumentException</td><td>用于初始化的正则表达式中包含空字符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a125c9f93119efe14a0cee68ff4f61e0f" name="a125c9f93119efe14a0cee68ff4f61e0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a125c9f93119efe14a0cee68ff4f61e0f">&#9670;&#160;</a></span>setRegex() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func commonsNet.ftp.RegexFTPFileEntryParserImpl.setRegex </td>
          <td>(</td>
          <td class="paramname"><em>regex</em>:&#160;</td>
          <td class="paramtype">String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>option</em>:&#160;</td>
          <td class="paramtype">RegexOption&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">

<p>更改当前用于条目解析的正则表达式，并创建一个新的 <code><a class="el" href="">Regex</a></code> 实例。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">regex</td><td>新的正则表达式 </td></tr>
    <tr><td class="paramname">option</td><td>指定正则匹配的模式，参见 <code><a class="el" href="">regex.RegexOption</a></code> 。</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">IllegalArgumentException</td><td>提供了无法解析的正则表达式 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a5bb71fc8a9a747ddfb17bd031d74277d" name="a5bb71fc8a9a747ddfb17bd031d74277d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bb71fc8a9a747ddfb17bd031d74277d">&#9670;&#160;</a></span>var _matcher_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.RegexFTPFileEntryParserImpl.var _matcher_ : ?Matcher = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>内部 Matcher 对象，为 Regex 的匹配器，用于扫描输入序列并进行匹配。 </p>

</div>
</div>
<a id="a164afd1c4c126a5d2cb759243f495774" name="a164afd1c4c126a5d2cb759243f495774"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a164afd1c4c126a5d2cb759243f495774">&#9670;&#160;</a></span>var pattern</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.RegexFTPFileEntryParserImpl.var pattern : Regex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>内部模式，用于匹配文件条目。 </p>

</div>
</div>
<a id="a85e9fb7365af878c654f8fdf4a95fc97" name="a85e9fb7365af878c654f8fdf4a95fc97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85e9fb7365af878c654f8fdf4a95fc97">&#9670;&#160;</a></span>var result</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ftp.RegexFTPFileEntryParserImpl.var result : ?MatchData = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>内部匹配结果，供解析器使用。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/ftp/<a class="el" href="ftp__file__entry__parser_8cj.html">ftp_file_entry_parser.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="namespacecommonsNet_1_1ftp.html">ftp</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1ftp_1_1RegexFTPFileEntryParserImpl.html">RegexFTPFileEntryParserImpl</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
